package com.shigu.mo.bo.requests;

import com.shigu.validation.tags.Telephone;
import org.hibernate.validator.constraints.NotEmpty;

/**
 * 获取验证码请求
 */
public class ValiCodeRequest extends MoRequest{
    @NotEmpty(message = "手机号码不能为空")
    @Telephone
    private String telephone;//手机号

    public String getTelephone() {
        return telephone;
    }

    public void setTelephone(String telephone) {
        this.telephone = telephone;
    }
}
